package com.zhou.bpm.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zhou.bpm.domain.vo.NodeApproverVo;
import com.zhou.bpm.entity.BpmNodeApprover;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Author: zhoujinchuan
 * @Description: TODO（请添加描述）
 * @CreateTime: 2023/10/25 10:34
 */
@Mapper
public interface BpmNodeApproverMapper extends BaseMapper<BpmNodeApprover> {

    /**
     * 获取审批人列表
     * @param processCode
     * @param nodeCode
     * @return
     */
    List<NodeApproverVo> getNodeApproverList(String processCode, String nodeCode);

    /**
     * 清空审批人
     * @param processCode
     * @param nodeCode
     */
    void removeApprover(String processCode, String nodeCode);
}
